package yyh.filltheform.bean;


public class JianFuFaBean {
	private String inhosptial_id;
	private String fangji_freq;
	private String fangji_supply_type;
	private Double fangji_dose;
	
	
	@Override
	public String toString() {
		return "JianFuFaBean [inhosptial_id=" + inhosptial_id
				+ ", fangji_freq=" + fangji_freq + ", fangji_supply_type="
				+ fangji_supply_type + ", fangji_dose=" + fangji_dose + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((fangji_dose == null) ? 0 : fangji_dose.hashCode());
		result = prime * result
				+ ((fangji_freq == null) ? 0 : fangji_freq.hashCode());
		result = prime
				* result
				+ ((fangji_supply_type == null) ? 0 : fangji_supply_type
						.hashCode());
		result = prime * result
				+ ((inhosptial_id == null) ? 0 : inhosptial_id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		JianFuFaBean other = (JianFuFaBean) obj;
		if (fangji_dose == null) {
			if (other.fangji_dose != null)
				return false;
		} else if (!fangji_dose.equals(other.fangji_dose))
			return false;
		if (fangji_freq == null) {
			if (other.fangji_freq != null)
				return false;
		} else if (!fangji_freq.equals(other.fangji_freq))
			return false;
		if (fangji_supply_type == null) {
			if (other.fangji_supply_type != null)
				return false;
		} else if (!fangji_supply_type.equals(other.fangji_supply_type))
			return false;
		if (inhosptial_id == null) {
			if (other.inhosptial_id != null)
				return false;
		} else if (!inhosptial_id.equals(other.inhosptial_id))
			return false;
		return true;
	}
	public String getInhosptial_id() {
		return inhosptial_id;
	}
	public void setInhosptial_id(String inhosptial_id) {
		this.inhosptial_id = inhosptial_id;
	}
	public String getFangji_freq() {
		return fangji_freq;
	}
	public void setFangji_freq(String fangji_freq) {
		this.fangji_freq = fangji_freq;
	}
	public String getFangji_supply_type() {
		return fangji_supply_type;
	}
	public void setFangji_supply_type(String fangji_supply_type) {
		this.fangji_supply_type = fangji_supply_type;
	}
	public Double getFangji_dose() {
		return fangji_dose;
	}
	public void setFangji_dose(Double fangji_dose) {
		this.fangji_dose = fangji_dose;
	}

}
